package com.wbc.smartHome.dao;

import com.wbc.smartHome.model.Admin;
import com.wbc.smartHome.model.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoginDao {

    /*List<Admin> login1();*/

    Admin login(Admin admin);


    List<Menu> menus(@Param("id") int id, @Param("type") int type);
}

